<%@page import="java.util.Random"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>




<!DOCTYPE HTML>
<html>
  <head>
    <title>GIS</title>
    <meta charset="utf-8"/>
	<link rel="stylesheet" href="css/mapstyle.css" />
	<link rel="stylesheet" href="css/pagestyle.css" />
	<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" />
	<!--[if lte IE 8]>
		<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
	<![endif]-->




	<script src="js/categories.js?<%= new java.util.Date().getTime() %>"></script>
	<script src="js/lineStyles.js?<%= new java.util.Date().getTime() %>"></script>
	<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script>
	<script src="js/Leflet.Vincenty.js"></script>
	<script src = "js/jquery-2.0.3.js" type="text/javascript"></script>
	<script src="js/gis.js?<%= new java.util.Date().getTime() %>"></script>

      <script src="js/geosearch/l.control.geosearch.js"></script>
      <script src="js/geosearch/l.geosearch.provider.openstreetmap.js"></script>
      <link rel="stylesheet" href="css/geosearch/l.geosearch.css" />


  </head>
  <body>
	<script>
		//alert(categories.asd)
	</script>
	<div id="map"></div>
	<div id="control">
		<!-- 
		<form method="POST" action="link">

			<select id="Obj1" name="Obj1"></select>
			<select id="Obj2" name="Obj2"></select>

			<input type='reset'/>
			<input type='submit'/>

		</form>
		 -->
		
		<a href="AddPoint.jsp">Добавить объект</a><br/>
		<a href="EditPoint.jsp">Редактор объектов</a><br/>
		<a href="AddCategory.jsp">Добавить тип объекта</a><br/>
		<a href="LinkPoints.jsp">Создать связь между объектами</a><br/>
		<a href="AddLineStyle.jsp">Создать тип связи</a><br/>
		

	</div>
	<div id="debug"></div>
	<div id="debug_2">
		<button id="clear" onClick="clear_elements()">Очистить</button>
		<br/>
		<button id="draw" onClick="draw_elements()">Нарисовать</button>
		<br/>
		<button id="getInRadius" onClick="getInRadius(target, 1000000,  featureCollections.features)">Подсчитать</button>
		
	</div>
	<script src="js/map.js"></script>
  </body>
</html>
